home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1997 October / macformat-055.iso / mac / Shareware Plus / System Components / Smart Scroll 2.03 / for Developers / SmartScrollAPI.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-02-21  |  923 b   |  39 lines  |  [TEXT/CWIE]

  1. /*
  2.      File:        SmartScrollAPI.h
  3.  
  4.      Contains:    Smart Scroll Application Programming Interface
  5.  
  6.      Version:    1.3
  7.  
  8.      Copyright:    © 1996, 1997 by Marc Moini, portions by Marc Menschenfreund,
  9.                 Alessandro Levi Montalcini and Mark Shirley (Thanks!)
  10.                   All rights reserved.
  11.  
  12.      Bugs?:        If you find a problem with this file, please email Marc@Kagi.com
  13.  
  14.      Version
  15.     History:    Same as 1.2, except a couple of "ControlHandle" definitions changed to "ControlRef"
  16. */
  17.  
  18. #ifndef __TYPES__
  19. #include <Types.h>
  20. #endif
  21.  
  22. #ifndef __CONTROLS__
  23. #include <Controls.h>
  24. #endif
  25.  
  26. #ifdef __cplusplus
  27. extern "C" {
  28. #endif
  29.  
  30. extern pascal void SetSmartScrollInfo (ControlRef theScrollBar, long amountVisible , long amountTotal);
  31. extern pascal void SetSmartScrollProp (ControlRef theScrollBar, Fract proportion);
  32. extern pascal Fract GetSmartScrollProp (ControlRef theScrollBar);
  33. extern pascal void DisposeAllSmartScrolls (void);
  34.  
  35.  
  36. #ifdef __cplusplus
  37. }
  38. #endif
  39.